﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Order.Domain.Enum
{
    /// <summary>
    /// 科室枚举
    /// </summary>
    public enum DeptEnum
    {
        /// <summary>
        /// 内科
        /// </summary>
        [Description("内科")]
        内科 = 0,
        /// <summary>
        /// 外科
        /// </summary>
        [Description("外科")]
        外科 = 5
    }

    /// <summary>
    /// 订单来源枚举
    /// </summary>
    public enum OrderSourceEnum
    {
        /// <summary>
        /// 视频问诊
        /// </summary>
        [Description("视频问诊")]
        视频问诊 = 0,
        /// <summary>
        /// 电话问诊
        /// </summary>
        [Description("电话问诊")]
        电话问诊 = 5,
        /// <summary>
        /// 图文问诊
        /// </summary>
        [Description("图文问诊")]
        图文问诊 = 10
    }

    /// <summary>
    /// 订单类型枚举
    /// </summary>
    public enum OrderTypeEnum
    {
        /// <summary>
        /// 药品订单
        /// </summary>
        [Description("药品订单")]
        药品订单 = 0,
        /// <summary>
        /// 处方订单
        /// </summary>
        [Description("处方订单")]
        处方订单 = 5,
        /// <summary>
        /// 问诊订单
        /// </summary>
        [Description("问诊订单")]
        问诊订单 = 10,
        /// <summary>
        /// 挂号订单
        /// </summary>
        [Description("挂号订单")]
        挂号订单 = 15
    }



    /// <summary>
    /// 问诊类型枚举
    /// </summary>
    public enum InterrogationTypeEnum
    {
        /// <summary>
        /// 待支付
        /// </summary>
        [Description("待支付")]
        待支付 = 0,
        /// <summary>
        /// 进行中
        /// </summary>
        [Description("进行中")]
        进行中 = 5,
        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        已完成 = 10,
        /// <summary>
        /// 已取消
        /// </summary>
        [Description("已取消")]
        已取消 = 15,
        /// <summary>
        /// 已退诊
        /// </summary>
        [Description("已退诊")]
        已退诊 = 20
    }
    /// <summary>
    /// 退诊原因枚举
    /// </summary>
    public enum PWithdrawnCauseEnum
    {
        /// <summary>
        /// 不对症
        /// </summary>
        [Description("不对症")]
        不对症 = 0,
        /// <summary>
        /// 重复问诊
        /// </summary>
        [Description("重复问诊")]
        重复问诊 = 5,
        /// <summary>
        /// 已治愈
        /// </summary>
        [Description("已治愈")]
        已治愈 = 10
    }
    /// <summary>
    /// 支付方式枚举
    /// </summary>
    public enum PaymentTypeEnum
    {
        /// <summary>
        /// 现金
        /// </summary>
        [Description("现金")]
        现金 = 0,
        /// <summary>
        /// 微信
        /// </summary>
        [Description("微信")]
        微信 = 5,
        /// <summary>
        /// 支付宝
        /// </summary>
        [Description("支付宝")]
        支付宝 = 10
    }

    /// <summary>
    /// 退款来源枚举
    /// </summary>
    public enum RefundSourceEnum
    {
        /// <summary>
        /// 用户申请
        /// </summary>
        [Description("用户申请")]
        用户申请 = 0,
        /// <summary>
        /// 系统自动
        /// </summary>
        [Description("系统自动")]
        系统自动 = 5,
        /// <summary>
        /// 客服处理
        /// </summary>
        [Description("客服处理")]
        客服处理 = 10
    }

    /// <summary>
    /// 退款状态枚举
    /// </summary>
    public enum RefundStatusEnum
    {
        /// <summary>
        /// 待处理
        /// </summary>
        [Description("待处理")]
        待处理 = 0,
        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        已完成 = 5,
        /// <summary>
        /// 已拒绝
        /// </summary>
        [Description("已拒绝")]
        已拒绝 = 10
    }

    /// <summary>
    /// 退款方式枚举
    /// </summary>
    public enum RefundMethodEnum
    {
        /// <summary>
        /// 原路退回
        /// </summary>
        [Description("原路退回")]
        原路退回 = 0,
        /// <summary>
        /// 余额退回
        /// </summary>
        [Description("余额退回")]
        余额退回 = 5,
        /// <summary>
        /// 其他方式
        /// </summary>
        [Description("其他方式")]
        其他方式 = 10
    }

    /// <summary>
    /// 药品订单状态枚举
    /// </summary>
    public enum DrugOrderStatusEnum
    {
        /// <summary>
        /// 待发货
        /// </summary>
        [Description("待发货")]
        待发货 = 0,
        /// <summary>
        /// 待收货
        /// </summary>
        [Description("待收货")]
        待收货 = 5,
        /// <summary>
        /// 已收货
        /// </summary>
        [Description("已收货")]
        已收货 = 10
    }

    /// <summary>
    /// 处方订单状态枚举
    /// </summary>
    public enum PrescriptionOrderStatusEnum
    {
        /// <summary>
        /// 待支付
        /// </summary>
        [Description("待支付")]
        待支付 = 0,
        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        已完成 = 5,
        /// <summary>
        /// 已失效
        /// </summary>
        [Description("已失效")]
        已失效 = 10
    }

    /// <summary>
    /// 购药方式枚举
    /// </summary>
    public enum MedicationPurchaseMethodEnum
    {
        /// <summary>
        /// 药店购药
        /// </summary>
        [Description("药店购药")]
        药店购药 = 0,
        /// <summary>
        /// 在线配送
        /// </summary>
        [Description("在线配送")]
        在线配送 = 5
    }

    /// <summary>
    /// 发药状态枚举
    /// </summary>
    public enum MedicationDispensingStatusEnum
    {
        /// <summary>
        /// 待支付
        /// </summary>
        [Description("待支付")]
        待支付 = 0,
        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        已完成 = 5,
        /// <summary>
        /// 已失效
        /// </summary>
        [Description("已失效")]
        已失效已核准发药 = 10,
        /// <summary>
        /// 已发药
        /// </summary>
        [Description("已发药")]
        已发药 = 15
    }

    /// <summary>
    /// 处方状态枚举
    /// </summary>
    public enum PrescriptionStatusEnum
    {
        /// <summary>
        /// 待审核
        /// </summary>
        [Description("待审核")]
        待审核 = 0,
        /// <summary>
        /// 已审核
        /// </summary>
        [Description("已审核")]
        已审核 = 5,
        /// <summary>
        /// 已取消
        /// </summary>
        [Description("已取消")]
        已取消 = 10,
        /// <summary>
        /// 已失效
        /// </summary>
        [Description("已失效")]
        已失效 = 15
    }

    /// <summary>
    /// 药品订单类型枚举（处方、订单）
    /// </summary>
    public enum DrugOrderTypeEnum
    {
        /// <summary>
        /// 处方用药
        /// </summary>
        [Description("处方用药")]
        处方用药 = 0,
        /// <summary>
        /// 订单用药
        /// </summary>
        [Description("订单用药")]
        订单用药 = 5
    }

    /// <summary>
    /// 挂号订单状态枚举
    /// </summary>
    public enum RegistrationOrderStatusEnum
    {
        /// <summary>
        /// 待支付
        /// </summary>
        [Description("待支付")]
        待支付 = 0,
        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        已完成 = 5,
        /// <summary>
        /// 已取消
        /// </summary>
        [Description("已取消")]
        已取消 = 10,
        /// <summary>
        /// 已退款
        /// </summary>
        [Description("已退款")]
        已退款 = 15
    }
}
